# Contributor: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
# Maintainer: Iztok Fister, Jr. <iztok@iztok-jr-fister.eu>
pkgname=py3-matplotlib-venn
_pkgorig=matplotlib-venn
pkgver=0.11.7
pkgrel=0
pkgdesc="Functions for plotting area-proportional two- and three-way Venn diagrams in matplotlib"
url="https://github.com/konstantint/matplotlib-venn"
arch="noarch !riscv64" # py3-matplotlib
license="MIT"
depends="python3 py3-matplotlib py3-scipy py3-numpy"
checkdepends="python3-dev py3-pytest"
makedepends="py3-setuptools"
source="$pkgname-$pkgver.tar.gz::https://github.com/konstantint/$_pkgorig/archive/$pkgver/$_pkgorig-$pkgver.tar.gz"
builddir="$srcdir/$_pkgorig-$pkgver"

build() {
	python3 setup.py build
}

check() {
	python3 -m pytest
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}


sha512sums="
860c4f46dc4ea9e94ad60294c9fa49ad0c92d85b8e560734be2d75ef3d2994f6aaf907bacb1296fff4d72517700268331a72c63f80f4740d9437fb79e1b7cfa7  py3-matplotlib-venn-0.11.7.tar.gz
"
